
@echo off
set CURDIR=%~dp0
set FILEPATH=%1
set TARGET=%2

echo CURDIR: %CURDIR%
echo FILEPATH: %FILEPATH%
echo TARGET: %TARGET%

%CURDIR%\adiff.exe -p %FILEPATH%\src.img %FILEPATH%\dst.img %TARGET%\old2new.bin
%CURDIR%\adiff.exe -p %FILEPATH%\dst.img %FILEPATH%\dst.img %TARGET%\new2old.bin


